﻿using System.ComponentModel.DataAnnotations;

namespace ParkManagement
{
    /// <summary>
    /// 更新车辆数据传输对象
    /// </summary>
    public class UpdateCarDto
    {
        [Display(Name = "编号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int Id { get; set; }
        
        [Display(Name = "车牌号")]
        public string PlateNo { get; set; }

        [Display(Name = "车型")]
        public string Type { get; set; }
    }
}